﻿<!--TO READ THIS HELP FILE, RIGHT-CLICK ON THE FILE NAME IN THE
    SOLUTION EXPLORER PANE AND SELECT "VIEW IN BROWSER"-->

<html><head><title>Ink-Enabled Text Box Sample</title></head><body><h1>Ink-Enabled Text Box Sample</h1><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()"><font color="DarkGray"></font><p /></div><div class="introduction"><p><h3 class="procedureSubHeading">To get samples and instructions for installing them</h3><div class="subSection"><ul><li><p>Do one or more of the following:</p><ul><li><p>On the <span class="ui">Help</span> menu, click <span class="ui">Samples</span>.</p><p>The Readme displays information about samples.</p></li>
    <li>
        <p>
            Visit the Visual Studio 2010 Samples Web site. The most recent versions of 
            samples are available there. 
        </p>
    </li>
    <li>
        <p>
            Locate samples on the computer on which Visual Studio is installed. By default, 
            samples and a Readme file are installed in <span class="placeholder">drive</span>:\Program 
            Files\Microsoft Visual Studio 10\Samples. For Express editions of Visual Studio, 
            all samples are located online.</p>
    </li>
    <li>
        <p>
            For Samples to build successfully, an ink enabled operating system is required.</p>
    </li>
</ul>
</ul></li></ul><p>For more information, see Locating Sample Files</mshelp:link>.</p></div></p><p><div class="alert"><table width="100%"     </table></div></p></div><h3 class="procedureSubHeading">To view the sample documentation</h3><div class="subSection"><ol><li><p>In <span class="ui">Solution Explorer</span>, double-click the <span class="ui">Documentation</span> folder.</p></li><li><p>If you are using Visual Basic Express Edition, right-click <span class="ui">ReadMe.htm</span> in the <span class="ui">Documentation</span> folder and then click <span class="ui">View in Browser</span>. If you are using another version of Visual Basic, double-click <span class="ui">ReadMe.htm</span> in the <span class="ui">Documentation</span> folder. </p></li></ol></div><h1 class="heading"><span   style="cursor:default;"   tabindex="0">Demonstrates</span></h1><div id="demonstratesSection" class="section" name="collapseableSection" style=""><p>Microsoft Windows XP Tablet PC Edition 2005 provides the Pen Input Panel (PIP). The PIP automatically enables text input in the form of freeform handwriting, individual characters, or characters from an on-screen QWERTY keyboard. This is the simplest and often the best solution for text entry in a Tablet PC application. </p><p>Controls that support the Text Framework Services additionally enable users to correct misrecognitions on a word-by-word basis after the initial recognition. </p><p>It is easy to use an <mshelp:link keywords="T:Microsoft.Ink.InkOverlay" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">InkOverlay</mshelp:link> together with a <span class="keyword">Timer</span> and the handwriting recognition APIs to create a customized ink-enabled <span class="keyword">TextBox</span>. </p><p>This sample demonstrates the use of PIP, Text Framework Services, and <span class="keyword">InkOverlay</span>. First, a simple <span class="keyword">TextBox</span> into which data is entered from the PIP is demonstrated. Second, the Text Framework Services capabilities of a <span class="keyword">RichTextBox</span> are demonstrated: after entering text with the PIP, select a word and the PIP will reappear, displaying alternatives for that word. Finally, a <span class="keyword">TextBox</span>, <span class="keyword">InkOverlay</span>, and <span class="keyword">Timer</span> are used to enable ink-gathering on the surface of the <span class="keyword">TextBox</span>. After the <span class="keyword">Interval</span> of the <span class="keyword">Timer</span> expires without any new <span class="keyword">Stroke</span>s added, the ink is recognized and the text is added to the <span class="keyword">TextBox</span>.</p><div id="sectionSection0" class="seeAlsoNoToggleSection"><h3 class="subHeading"></h3><div class="subsection"><h4 class="subHeading">This sample requires that the following be installed:</h4><div class="subsection"><ul><li><p>Visual Studio </p></li><li><p>Tablet PC Platform SDK</p></li><li><p>
Tablet Enabled Version of Windows</p></li></ul></div></div></div></div></div><div id="footer"><div class="footerLine"></div><!--<include item="copyrightStatement"/>--><A NAME="feedback"></A><span id="fb" class="feedbackcss" /> 
             
                
               
                
                
               
               
               
              
                
               
              
               
               
               
         </div></div></body></html>
